class SearchController < ApplicationController
  layout nil
  include SearchHelper
  
  def index
    if (params.keys.include? "searchTerm") and request.xhr?
        search params["searchTerm"]
    else
        @hash_set_search = ""
    end
    render :json => @hash_set_search
  end
end